﻿using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace Tb.App.Domain.Rabbit.Slaughter
{
    /// <summary>
    /// 屠宰信息
    /// </summary>
     public class SlaughterModel
    {
        /// <summary>
        /// 主键
        /// </summary>
        [Key]
        public int Id { get; set; }
        /// <summary>
        /// 生产批次
        /// </summary>
        public string? Batch { get; set; }
        /// <summary>
        /// 到场均重
        /// </summary>
        public int Weight { get; set; }
        /// <summary>
        /// 到场时间
        /// </summary>
        public DateTime? StartTime { get; set; }
        /// <summary>
        /// 屠宰时间
        /// </summary>
        public DateTime? EndTime { get; set; }
        /// <summary>
        /// 删除标识
        /// </summary>
        public bool IsDel { get; set; } = false;
    }
}
